\(\int (b \tan ^3(e+f x))^{5/2} \, dx\) [7]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [C] (verification not implemented)
   Sympy [F]
   Maxima [A] (verification not implemented)
   Giac [A] (verification not implemented)
   Mupad [F(-1)]

Optimal result

Integrand size = 14, antiderivative size = 364 \[ \int \left (b \tan ^3(e+f x)\right )^{5/2} \, dx=-\frac {2 b^2 \cot (e+f x) \sqrt {b \tan ^3(e+f x)}}{f}-\frac {b^2 \arctan \left (1-\sqrt {2} \sqrt {\tan (e+f x)}\right ) \sqrt {b \tan ^3(e+f x)}}{\sqrt {2} f \tan ^{\frac {3}{2}}(e+f x)}+\frac {b^2 \arctan \left (1+\sqrt {2} \sqrt {\tan (e+f x)}\right ) \sqrt {b \tan ^3(e+f x)}}{\sqrt {2} f \tan ^{\frac {3}{2}}(e+f x)}-\frac {b^2 \log \left (1-\sqrt {2} \sqrt {\tan (e+f x)}+\tan (e+f x)\right ) \sqrt {b \tan ^3(e+f x)}}{2 \sqrt {2} f \tan ^{\frac {3}{2}}(e+f x)}+\frac {b^2 \log \left (1+\sqrt {2} \sqrt {\tan (e+f x)}+\tan (e+f x)\right ) \sqrt {b \tan ^3(e+f x)}}{2 \sqrt {2} f \tan ^{\frac {3}{2}}(e+f x)}+\frac {2 b^2 \tan (e+f x) \sqrt {b \tan ^3(e+f x)}}{5 f}-\frac {2 b^2 \tan ^3(e+f x) \sqrt {b \tan ^3(e+f x)}}{9 f}+\frac {2 b^2 \tan ^5(e+f x) \sqrt {b \tan ^3(e+f x)}}{13 f} \]

[Out]

-2*b^2*cot(f*x+e)*(b*tan(f*x+e)^3)^(1/2)/f+1/2*b^2*arctan(-1+2^(1/2)*tan(f*x+e)^(1/2))*(b*tan(f*x+e)^3)^(1/2)/
f*2^(1/2)/tan(f*x+e)^(3/2)+1/2*b^2*arctan(1+2^(1/2)*tan(f*x+e)^(1/2))*(b*tan(f*x+e)^3)^(1/2)/f*2^(1/2)/tan(f*x
+e)^(3/2)-1/4*b^2*ln(1-2^(1/2)*tan(f*x+e)^(1/2)+tan(f*x+e))*(b*tan(f*x+e)^3)^(1/2)/f*2^(1/2)/tan(f*x+e)^(3/2)+
1/4*b^2*ln(1+2^(1/2)*tan(f*x+e)^(1/2)+tan(f*x+e))*(b*tan(f*x+e)^3)^(1/2)/f*2^(1/2)/tan(f*x+e)^(3/2)+2/5*b^2*(b
*tan(f*x+e)^3)^(1/2)*tan(f*x+e)/f-2/9*b^2*(b*tan(f*x+e)^3)^(1/2)*tan(f*x+e)^3/f+2/13*b^2*(b*tan(f*x+e)^3)^(1/2
)*tan(f*x+e)^5/f

Rubi [A] (verified)

Time = 0.18 (sec) , antiderivative size = 364, normalized size of antiderivative = 1.00, number of steps used = 16, number of rules used = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.714, Rules used = {3739, 3554, 3557, 335, 217, 1179, 642, 1176, 631, 210} \[ \int \left (b \tan ^3(e+f x)\right )^{5/2} \, dx=-\frac {b^2 \arctan \left (1-\sqrt {2} \sqrt {\tan (e+f x)}\right ) \sqrt {b \tan ^3(e+f x)}}{\sqrt {2} f \tan ^{\frac {3}{2}}(e+f x)}+\frac {b^2 \arctan \left (\sqrt {2} \sqrt {\tan (e+f x)}+1\right ) \sqrt {b \tan ^3(e+f x)}}{\sqrt {2} f \tan ^{\frac {3}{2}}(e+f x)}-\frac {2 b^2 \tan ^3(e+f x) \sqrt {b \tan ^3(e+f x)}}{9 f}+\frac {2 b^2 \tan (e+f x) \sqrt {b \tan ^3(e+f x)}}{5 f}+\frac {2 b^2 \tan ^5(e+f x) \sqrt {b \tan ^3(e+f x)}}{13 f}-\frac {b^2 \sqrt {b \tan ^3(e+f x)} \log \left (\tan (e+f x)-\sqrt {2} \sqrt {\tan (e+f x)}+1\right )}{2 \sqrt {2} f \tan ^{\frac {3}{2}}(e+f x)}+\frac {b^2 \sqrt {b \tan ^3(e+f x)} \log \left (\tan (e+f x)+\sqrt {2} \sqrt {\tan (e+f x)}+1\right )}{2 \sqrt {2} f \tan ^{\frac {3}{2}}(e+f x)}-\frac {2 b^2 \cot (e+f x) \sqrt {b \tan ^3(e+f x)}}{f} \]

[In]

Int[(b*Tan[e + f*x]^3)^(5/2),x]

[Out]

(-2*b^2*Cot[e + f*x]*Sqrt[b*Tan[e + f*x]^3])/f - (b^2*ArcTan[1 - Sqrt[2]*Sqrt[Tan[e + f*x]]]*Sqrt[b*Tan[e + f*
x]^3])/(Sqrt[2]*f*Tan[e + f*x]^(3/2)) + (b^2*ArcTan[1 + Sqrt[2]*Sqrt[Tan[e + f*x]]]*Sqrt[b*Tan[e + f*x]^3])/(S
qrt[2]*f*Tan[e + f*x]^(3/2)) - (b^2*Log[1 - Sqrt[2]*Sqrt[Tan[e + f*x]] + Tan[e + f*x]]*Sqrt[b*Tan[e + f*x]^3])
/(2*Sqrt[2]*f*Tan[e + f*x]^(3/2)) + (b^2*Log[1 + Sqrt[2]*Sqrt[Tan[e + f*x]] + Tan[e + f*x]]*Sqrt[b*Tan[e + f*x
]^3])/(2*Sqrt[2]*f*Tan[e + f*x]^(3/2)) + (2*b^2*Tan[e + f*x]*Sqrt[b*Tan[e + f*x]^3])/(5*f) - (2*b^2*Tan[e + f*
x]^3*Sqrt[b*Tan[e + f*x]^3])/(9*f) + (2*b^2*Tan[e + f*x]^5*Sqrt[b*Tan[e + f*x]^3])/(13*f)

Rule 210

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(-(Rt[-a, 2]*Rt[-b, 2])^(-1))*ArcTan[Rt[-b, 2]*(x/Rt[-a, 2])
], x] /; FreeQ[{a, b}, x] && PosQ[a/b] && (LtQ[a, 0] || LtQ[b, 0])

Rule 217

Int[((a_) + (b_.)*(x_)^4)^(-1), x_Symbol] :> With[{r = Numerator[Rt[a/b, 2]], s = Denominator[Rt[a/b, 2]]}, Di
st[1/(2*r), Int[(r - s*x^2)/(a + b*x^4), x], x] + Dist[1/(2*r), Int[(r + s*x^2)/(a + b*x^4), x], x]] /; FreeQ[
{a, b}, x] && (GtQ[a/b, 0] || (PosQ[a/b] && AtomQ[SplitProduct[SumBaseQ, a]] && AtomQ[SplitProduct[SumBaseQ, b
]]))

Rule 335

Int[((c_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> With[{k = Denominator[m]}, Dist[k/c, Subst[I
nt[x^(k*(m + 1) - 1)*(a + b*(x^(k*n)/c^n))^p, x], x, (c*x)^(1/k)], x]] /; FreeQ[{a, b, c, p}, x] && IGtQ[n, 0]
 && FractionQ[m] && IntBinomialQ[a, b, c, n, m, p, x]

Rule 631

Int[((a_) + (b_.)*(x_) + (c_.)*(x_)^2)^(-1), x_Symbol] :> With[{q = 1 - 4*Simplify[a*(c/b^2)]}, Dist[-2/b, Sub
st[Int[1/(q - x^2), x], x, 1 + 2*c*(x/b)], x] /; RationalQ[q] && (EqQ[q^2, 1] ||  !RationalQ[b^2 - 4*a*c])] /;
 FreeQ[{a, b, c}, x] && NeQ[b^2 - 4*a*c, 0]

Rule 642

Int[((d_) + (e_.)*(x_))/((a_.) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Simp[d*(Log[RemoveContent[a + b*x +
c*x^2, x]]/b), x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[2*c*d - b*e, 0]

Rule 1176

Int[((d_) + (e_.)*(x_)^2)/((a_) + (c_.)*(x_)^4), x_Symbol] :> With[{q = Rt[2*(d/e), 2]}, Dist[e/(2*c), Int[1/S
imp[d/e + q*x + x^2, x], x], x] + Dist[e/(2*c), Int[1/Simp[d/e - q*x + x^2, x], x], x]] /; FreeQ[{a, c, d, e},
 x] && EqQ[c*d^2 - a*e^2, 0] && PosQ[d*e]

Rule 1179

Int[((d_) + (e_.)*(x_)^2)/((a_) + (c_.)*(x_)^4), x_Symbol] :> With[{q = Rt[-2*(d/e), 2]}, Dist[e/(2*c*q), Int[
(q - 2*x)/Simp[d/e + q*x - x^2, x], x], x] + Dist[e/(2*c*q), Int[(q + 2*x)/Simp[d/e - q*x - x^2, x], x], x]] /
; FreeQ[{a, c, d, e}, x] && EqQ[c*d^2 - a*e^2, 0] && NegQ[d*e]

Rule 3554

Int[((b_.)*tan[(c_.) + (d_.)*(x_)])^(n_), x_Symbol] :> Simp[b*((b*Tan[c + d*x])^(n - 1)/(d*(n - 1))), x] - Dis
t[b^2, Int[(b*Tan[c + d*x])^(n - 2), x], x] /; FreeQ[{b, c, d}, x] && GtQ[n, 1]

Rule 3557

Int[((b_.)*tan[(c_.) + (d_.)*(x_)])^(n_), x_Symbol] :> Dist[b/d, Subst[Int[x^n/(b^2 + x^2), x], x, b*Tan[c + d
*x]], x] /; FreeQ[{b, c, d, n}, x] &&  !IntegerQ[n]

Rule 3739

Int[(u_.)*((b_.)*tan[(e_.) + (f_.)*(x_)]^(n_))^(p_), x_Symbol] :> With[{ff = FreeFactors[Tan[e + f*x], x]}, Di
st[(b*ff^n)^IntPart[p]*((b*Tan[e + f*x]^n)^FracPart[p]/(Tan[e + f*x]/ff)^(n*FracPart[p])), Int[ActivateTrig[u]
*(Tan[e + f*x]/ff)^(n*p), x], x]] /; FreeQ[{b, e, f, n, p}, x] &&  !IntegerQ[p] && IntegerQ[n] && (EqQ[u, 1] |
| MatchQ[u, ((d_.)*(trig_)[e + f*x])^(m_.) /; FreeQ[{d, m}, x] && MemberQ[{sin, cos, tan, cot, sec, csc}, trig
]])

Rubi steps \begin{align*} \text {integral}& = \frac {\left (b^2 \sqrt {b \tan ^3(e+f x)}\right ) \int \tan ^{\frac {15}{2}}(e+f x) \, dx}{\tan ^{\frac {3}{2}}(e+f x)} \\ & = \frac {2 b^2 \tan ^5(e+f x) \sqrt {b \tan ^3(e+f x)}}{13 f}-\frac {\left (b^2 \sqrt {b \tan ^3(e+f x)}\right ) \int \tan ^{\frac {11}{2}}(e+f x) \, dx}{\tan ^{\frac {3}{2}}(e+f x)} \\ & = -\frac {2 b^2 \tan ^3(e+f x) \sqrt {b \tan ^3(e+f x)}}{9 f}+\frac {2 b^2 \tan ^5(e+f x) \sqrt {b \tan ^3(e+f x)}}{13 f}+\frac {\left (b^2 \sqrt {b \tan ^3(e+f x)}\right ) \int \tan ^{\frac {7}{2}}(e+f x) \, dx}{\tan ^{\frac {3}{2}}(e+f x)} \\ & = \frac {2 b^2 \tan (e+f x) \sqrt {b \tan ^3(e+f x)}}{5 f}-\frac {2 b^2 \tan ^3(e+f x) \sqrt {b \tan ^3(e+f x)}}{9 f}+\frac {2 b^2 \tan ^5(e+f x) \sqrt {b \tan ^3(e+f x)}}{13 f}-\frac {\left (b^2 \sqrt {b \tan ^3(e+f x)}\right ) \int \tan ^{\frac {3}{2}}(e+f x) \, dx}{\tan ^{\frac {3}{2}}(e+f x)} \\ & = -\frac {2 b^2 \cot (e+f x) \sqrt {b \tan ^3(e+f x)}}{f}+\frac {2 b^2 \tan (e+f x) \sqrt {b \tan ^3(e+f x)}}{5 f}-\frac {2 b^2 \tan ^3(e+f x) \sqrt {b \tan ^3(e+f x)}}{9 f}+\frac {2 b^2 \tan ^5(e+f x) \sqrt {b \tan ^3(e+f x)}}{13 f}+\frac {\left (b^2 \sqrt {b \tan ^3(e+f x)}\right ) \int \frac {1}{\sqrt {\tan (e+f x)}} \, dx}{\tan ^{\frac {3}{2}}(e+f x)} \\ & = -\frac {2 b^2 \cot (e+f x) \sqrt {b \tan ^3(e+f x)}}{f}+\frac {2 b^2 \tan (e+f x) \sqrt {b \tan ^3(e+f x)}}{5 f}-\frac {2 b^2 \tan ^3(e+f x) \sqrt {b \tan ^3(e+f x)}}{9 f}+\frac {2 b^2 \tan ^5(e+f x) \sqrt {b \tan ^3(e+f x)}}{13 f}+\frac {\left (b^2 \sqrt {b \tan ^3(e+f x)}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {x} \left (1+x^2\right )} \, dx,x,\tan (e+f x)\right )}{f \tan ^{\frac {3}{2}}(e+f x)} \\ & = -\frac {2 b^2 \cot (e+f x) \sqrt {b \tan ^3(e+f x)}}{f}+\frac {2 b^2 \tan (e+f x) \sqrt {b \tan ^3(e+f x)}}{5 f}-\frac {2 b^2 \tan ^3(e+f x) \sqrt {b \tan ^3(e+f x)}}{9 f}+\frac {2 b^2 \tan ^5(e+f x) \sqrt {b \tan ^3(e+f x)}}{13 f}+\frac {\left (2 b^2 \sqrt {b \tan ^3(e+f x)}\right ) \text {Subst}\left (\int \frac {1}{1+x^4} \, dx,x,\sqrt {\tan (e+f x)}\right )}{f \tan ^{\frac {3}{2}}(e+f x)} \\ & = -\frac {2 b^2 \cot (e+f x) \sqrt {b \tan ^3(e+f x)}}{f}+\frac {2 b^2 \tan (e+f x) \sqrt {b \tan ^3(e+f x)}}{5 f}-\frac {2 b^2 \tan ^3(e+f x) \sqrt {b \tan ^3(e+f x)}}{9 f}+\frac {2 b^2 \tan ^5(e+f x) \sqrt {b \tan ^3(e+f x)}}{13 f}+\frac {\left (b^2 \sqrt {b \tan ^3(e+f x)}\right ) \text {Subst}\left (\int \frac {1-x^2}{1+x^4} \, dx,x,\sqrt {\tan (e+f x)}\right )}{f \tan ^{\frac {3}{2}}(e+f x)}+\frac {\left (b^2 \sqrt {b \tan ^3(e+f x)}\right ) \text {Subst}\left (\int \frac {1+x^2}{1+x^4} \, dx,x,\sqrt {\tan (e+f x)}\right )}{f \tan ^{\frac {3}{2}}(e+f x)} \\ & = -\frac {2 b^2 \cot (e+f x) \sqrt {b \tan ^3(e+f x)}}{f}+\frac {2 b^2 \tan (e+f x) \sqrt {b \tan ^3(e+f x)}}{5 f}-\frac {2 b^2 \tan ^3(e+f x) \sqrt {b \tan ^3(e+f x)}}{9 f}+\frac {2 b^2 \tan ^5(e+f x) \sqrt {b \tan ^3(e+f x)}}{13 f}+\frac {\left (b^2 \sqrt {b \tan ^3(e+f x)}\right ) \text {Subst}\left (\int \frac {1}{1-\sqrt {2} x+x^2} \, dx,x,\sqrt {\tan (e+f x)}\right )}{2 f \tan ^{\frac {3}{2}}(e+f x)}+\frac {\left (b^2 \sqrt {b \tan ^3(e+f x)}\right ) \text {Subst}\left (\int \frac {1}{1+\sqrt {2} x+x^2} \, dx,x,\sqrt {\tan (e+f x)}\right )}{2 f \tan ^{\frac {3}{2}}(e+f x)}-\frac {\left (b^2 \sqrt {b \tan ^3(e+f x)}\right ) \text {Subst}\left (\int \frac {\sqrt {2}+2 x}{-1-\sqrt {2} x-x^2} \, dx,x,\sqrt {\tan (e+f x)}\right )}{2 \sqrt {2} f \tan ^{\frac {3}{2}}(e+f x)}-\frac {\left (b^2 \sqrt {b \tan ^3(e+f x)}\right ) \text {Subst}\left (\int \frac {\sqrt {2}-2 x}{-1+\sqrt {2} x-x^2} \, dx,x,\sqrt {\tan (e+f x)}\right )}{2 \sqrt {2} f \tan ^{\frac {3}{2}}(e+f x)} \\ & = -\frac {2 b^2 \cot (e+f x) \sqrt {b \tan ^3(e+f x)}}{f}-\frac {b^2 \log \left (1-\sqrt {2} \sqrt {\tan (e+f x)}+\tan (e+f x)\right ) \sqrt {b \tan ^3(e+f x)}}{2 \sqrt {2} f \tan ^{\frac {3}{2}}(e+f x)}+\frac {b^2 \log \left (1+\sqrt {2} \sqrt {\tan (e+f x)}+\tan (e+f x)\right ) \sqrt {b \tan ^3(e+f x)}}{2 \sqrt {2} f \tan ^{\frac {3}{2}}(e+f x)}+\frac {2 b^2 \tan (e+f x) \sqrt {b \tan ^3(e+f x)}}{5 f}-\frac {2 b^2 \tan ^3(e+f x) \sqrt {b \tan ^3(e+f x)}}{9 f}+\frac {2 b^2 \tan ^5(e+f x) \sqrt {b \tan ^3(e+f x)}}{13 f}+\frac {\left (b^2 \sqrt {b \tan ^3(e+f x)}\right ) \text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1-\sqrt {2} \sqrt {\tan (e+f x)}\right )}{\sqrt {2} f \tan ^{\frac {3}{2}}(e+f x)}-\frac {\left (b^2 \sqrt {b \tan ^3(e+f x)}\right ) \text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1+\sqrt {2} \sqrt {\tan (e+f x)}\right )}{\sqrt {2} f \tan ^{\frac {3}{2}}(e+f x)} \\ & = -\frac {2 b^2 \cot (e+f x) \sqrt {b \tan ^3(e+f x)}}{f}-\frac {b^2 \arctan \left (1-\sqrt {2} \sqrt {\tan (e+f x)}\right ) \sqrt {b \tan ^3(e+f x)}}{\sqrt {2} f \tan ^{\frac {3}{2}}(e+f x)}+\frac {b^2 \arctan \left (1+\sqrt {2} \sqrt {\tan (e+f x)}\right ) \sqrt {b \tan ^3(e+f x)}}{\sqrt {2} f \tan ^{\frac {3}{2}}(e+f x)}-\frac {b^2 \log \left (1-\sqrt {2} \sqrt {\tan (e+f x)}+\tan (e+f x)\right ) \sqrt {b \tan ^3(e+f x)}}{2 \sqrt {2} f \tan ^{\frac {3}{2}}(e+f x)}+\frac {b^2 \log \left (1+\sqrt {2} \sqrt {\tan (e+f x)}+\tan (e+f x)\right ) \sqrt {b \tan ^3(e+f x)}}{2 \sqrt {2} f \tan ^{\frac {3}{2}}(e+f x)}+\frac {2 b^2 \tan (e+f x) \sqrt {b \tan ^3(e+f x)}}{5 f}-\frac {2 b^2 \tan ^3(e+f x) \sqrt {b \tan ^3(e+f x)}}{9 f}+\frac {2 b^2 \tan ^5(e+f x) \sqrt {b \tan ^3(e+f x)}}{13 f} \\ \end{align*}

Mathematica [A] (verified)

Time = 1.05 (sec) , antiderivative size = 204, normalized size of antiderivative = 0.56 \[ \int \left (b \tan ^3(e+f x)\right )^{5/2} \, dx=\frac {\left (b \tan ^3(e+f x)\right )^{5/2} \left (-\frac {\arctan \left (1-\sqrt {2} \sqrt {\tan (e+f x)}\right )}{\sqrt {2}}+\frac {\arctan \left (1+\sqrt {2} \sqrt {\tan (e+f x)}\right )}{\sqrt {2}}-\frac {\log \left (1-\sqrt {2} \sqrt {\tan (e+f x)}+\tan (e+f x)\right )}{2 \sqrt {2}}+\frac {\log \left (1+\sqrt {2} \sqrt {\tan (e+f x)}+\tan (e+f x)\right )}{2 \sqrt {2}}-2 \sqrt {\tan (e+f x)}+\frac {2}{5} \tan ^{\frac {5}{2}}(e+f x)-\frac {2}{9} \tan ^{\frac {9}{2}}(e+f x)+\frac {2}{13} \tan ^{\frac {13}{2}}(e+f x)\right )}{f \tan ^{\frac {15}{2}}(e+f x)} \]

[In]

Integrate[(b*Tan[e + f*x]^3)^(5/2),x]

[Out]

((b*Tan[e + f*x]^3)^(5/2)*(-(ArcTan[1 - Sqrt[2]*Sqrt[Tan[e + f*x]]]/Sqrt[2]) + ArcTan[1 + Sqrt[2]*Sqrt[Tan[e +
 f*x]]]/Sqrt[2] - Log[1 - Sqrt[2]*Sqrt[Tan[e + f*x]] + Tan[e + f*x]]/(2*Sqrt[2]) + Log[1 + Sqrt[2]*Sqrt[Tan[e
+ f*x]] + Tan[e + f*x]]/(2*Sqrt[2]) - 2*Sqrt[Tan[e + f*x]] + (2*Tan[e + f*x]^(5/2))/5 - (2*Tan[e + f*x]^(9/2))
/9 + (2*Tan[e + f*x]^(13/2))/13))/(f*Tan[e + f*x]^(15/2))

Maple [A] (verified)

Time = 0.11 (sec) , antiderivative size = 266, normalized size of antiderivative = 0.73

method result size
derivativedivides \(\frac {\left (b \tan \left (f x +e \right )^{3}\right )^{\frac {5}{2}} \left (360 \left (b \tan \left (f x +e \right )\right )^{\frac {13}{2}}-520 b^{2} \left (b \tan \left (f x +e \right )\right )^{\frac {9}{2}}+585 b^{6} \left (b^{2}\right )^{\frac {1}{4}} \sqrt {2}\, \ln \left (-\frac {b \tan \left (f x +e \right )+\left (b^{2}\right )^{\frac {1}{4}} \sqrt {b \tan \left (f x +e \right )}\, \sqrt {2}+\sqrt {b^{2}}}{\left (b^{2}\right )^{\frac {1}{4}} \sqrt {b \tan \left (f x +e \right )}\, \sqrt {2}-b \tan \left (f x +e \right )-\sqrt {b^{2}}}\right )+1170 b^{6} \left (b^{2}\right )^{\frac {1}{4}} \sqrt {2}\, \arctan \left (\frac {\sqrt {2}\, \sqrt {b \tan \left (f x +e \right )}+\left (b^{2}\right )^{\frac {1}{4}}}{\left (b^{2}\right )^{\frac {1}{4}}}\right )+1170 b^{6} \left (b^{2}\right )^{\frac {1}{4}} \sqrt {2}\, \arctan \left (\frac {\sqrt {2}\, \sqrt {b \tan \left (f x +e \right )}-\left (b^{2}\right )^{\frac {1}{4}}}{\left (b^{2}\right )^{\frac {1}{4}}}\right )+936 b^{4} \left (b \tan \left (f x +e \right )\right )^{\frac {5}{2}}-4680 b^{6} \sqrt {b \tan \left (f x +e \right )}\right )}{2340 f \tan \left (f x +e \right )^{5} \left (b \tan \left (f x +e \right )\right )^{\frac {5}{2}} b^{4}}\) \(266\)
default \(\frac {\left (b \tan \left (f x +e \right )^{3}\right )^{\frac {5}{2}} \left (360 \left (b \tan \left (f x +e \right )\right )^{\frac {13}{2}}-520 b^{2} \left (b \tan \left (f x +e \right )\right )^{\frac {9}{2}}+585 b^{6} \left (b^{2}\right )^{\frac {1}{4}} \sqrt {2}\, \ln \left (-\frac {b \tan \left (f x +e \right )+\left (b^{2}\right )^{\frac {1}{4}} \sqrt {b \tan \left (f x +e \right )}\, \sqrt {2}+\sqrt {b^{2}}}{\left (b^{2}\right )^{\frac {1}{4}} \sqrt {b \tan \left (f x +e \right )}\, \sqrt {2}-b \tan \left (f x +e \right )-\sqrt {b^{2}}}\right )+1170 b^{6} \left (b^{2}\right )^{\frac {1}{4}} \sqrt {2}\, \arctan \left (\frac {\sqrt {2}\, \sqrt {b \tan \left (f x +e \right )}+\left (b^{2}\right )^{\frac {1}{4}}}{\left (b^{2}\right )^{\frac {1}{4}}}\right )+1170 b^{6} \left (b^{2}\right )^{\frac {1}{4}} \sqrt {2}\, \arctan \left (\frac {\sqrt {2}\, \sqrt {b \tan \left (f x +e \right )}-\left (b^{2}\right )^{\frac {1}{4}}}{\left (b^{2}\right )^{\frac {1}{4}}}\right )+936 b^{4} \left (b \tan \left (f x +e \right )\right )^{\frac {5}{2}}-4680 b^{6} \sqrt {b \tan \left (f x +e \right )}\right )}{2340 f \tan \left (f x +e \right )^{5} \left (b \tan \left (f x +e \right )\right )^{\frac {5}{2}} b^{4}}\) \(266\)

[In]

int((b*tan(f*x+e)^3)^(5/2),x,method=_RETURNVERBOSE)

[Out]

1/2340/f*(b*tan(f*x+e)^3)^(5/2)*(360*(b*tan(f*x+e))^(13/2)-520*b^2*(b*tan(f*x+e))^(9/2)+585*b^6*(b^2)^(1/4)*2^
(1/2)*ln(-(b*tan(f*x+e)+(b^2)^(1/4)*(b*tan(f*x+e))^(1/2)*2^(1/2)+(b^2)^(1/2))/((b^2)^(1/4)*(b*tan(f*x+e))^(1/2
)*2^(1/2)-b*tan(f*x+e)-(b^2)^(1/2)))+1170*b^6*(b^2)^(1/4)*2^(1/2)*arctan((2^(1/2)*(b*tan(f*x+e))^(1/2)+(b^2)^(
1/4))/(b^2)^(1/4))+1170*b^6*(b^2)^(1/4)*2^(1/2)*arctan((2^(1/2)*(b*tan(f*x+e))^(1/2)-(b^2)^(1/4))/(b^2)^(1/4))
+936*b^4*(b*tan(f*x+e))^(5/2)-4680*b^6*(b*tan(f*x+e))^(1/2))/tan(f*x+e)^5/(b*tan(f*x+e))^(5/2)/b^4

Fricas [C] (verification not implemented)

Result contains complex when optimal does not.

Time = 0.27 (sec) , antiderivative size = 332, normalized size of antiderivative = 0.91 \[ \int \left (b \tan ^3(e+f x)\right )^{5/2} \, dx=\frac {585 \, \left (-\frac {b^{10}}{f^{4}}\right )^{\frac {1}{4}} f \log \left (\frac {\sqrt {b \tan \left (f x + e\right )^{3}} b^{2} + \left (-\frac {b^{10}}{f^{4}}\right )^{\frac {1}{4}} f \tan \left (f x + e\right )}{\tan \left (f x + e\right )}\right ) \tan \left (f x + e\right ) + 585 i \, \left (-\frac {b^{10}}{f^{4}}\right )^{\frac {1}{4}} f \log \left (\frac {\sqrt {b \tan \left (f x + e\right )^{3}} b^{2} + i \, \left (-\frac {b^{10}}{f^{4}}\right )^{\frac {1}{4}} f \tan \left (f x + e\right )}{\tan \left (f x + e\right )}\right ) \tan \left (f x + e\right ) - 585 i \, \left (-\frac {b^{10}}{f^{4}}\right )^{\frac {1}{4}} f \log \left (\frac {\sqrt {b \tan \left (f x + e\right )^{3}} b^{2} - i \, \left (-\frac {b^{10}}{f^{4}}\right )^{\frac {1}{4}} f \tan \left (f x + e\right )}{\tan \left (f x + e\right )}\right ) \tan \left (f x + e\right ) - 585 \, \left (-\frac {b^{10}}{f^{4}}\right )^{\frac {1}{4}} f \log \left (\frac {\sqrt {b \tan \left (f x + e\right )^{3}} b^{2} - \left (-\frac {b^{10}}{f^{4}}\right )^{\frac {1}{4}} f \tan \left (f x + e\right )}{\tan \left (f x + e\right )}\right ) \tan \left (f x + e\right ) + 4 \, {\left (45 \, b^{2} \tan \left (f x + e\right )^{6} - 65 \, b^{2} \tan \left (f x + e\right )^{4} + 117 \, b^{2} \tan \left (f x + e\right )^{2} - 585 \, b^{2}\right )} \sqrt {b \tan \left (f x + e\right )^{3}}}{1170 \, f \tan \left (f x + e\right )} \]

[In]

integrate((b*tan(f*x+e)^3)^(5/2),x, algorithm="fricas")

[Out]

1/1170*(585*(-b^10/f^4)^(1/4)*f*log((sqrt(b*tan(f*x + e)^3)*b^2 + (-b^10/f^4)^(1/4)*f*tan(f*x + e))/tan(f*x +
e))*tan(f*x + e) + 585*I*(-b^10/f^4)^(1/4)*f*log((sqrt(b*tan(f*x + e)^3)*b^2 + I*(-b^10/f^4)^(1/4)*f*tan(f*x +
 e))/tan(f*x + e))*tan(f*x + e) - 585*I*(-b^10/f^4)^(1/4)*f*log((sqrt(b*tan(f*x + e)^3)*b^2 - I*(-b^10/f^4)^(1
/4)*f*tan(f*x + e))/tan(f*x + e))*tan(f*x + e) - 585*(-b^10/f^4)^(1/4)*f*log((sqrt(b*tan(f*x + e)^3)*b^2 - (-b
^10/f^4)^(1/4)*f*tan(f*x + e))/tan(f*x + e))*tan(f*x + e) + 4*(45*b^2*tan(f*x + e)^6 - 65*b^2*tan(f*x + e)^4 +
 117*b^2*tan(f*x + e)^2 - 585*b^2)*sqrt(b*tan(f*x + e)^3))/(f*tan(f*x + e))

Sympy [F]

\[ \int \left (b \tan ^3(e+f x)\right )^{5/2} \, dx=\int \left (b \tan ^{3}{\left (e + f x \right )}\right )^{\frac {5}{2}}\, dx \]

[In]

integrate((b*tan(f*x+e)**3)**(5/2),x)

[Out]

Integral((b*tan(e + f*x)**3)**(5/2), x)

Maxima [A] (verification not implemented)

none

Time = 0.41 (sec) , antiderivative size = 178, normalized size of antiderivative = 0.49 \[ \int \left (b \tan ^3(e+f x)\right )^{5/2} \, dx=\frac {360 \, b^{\frac {5}{2}} \tan \left (f x + e\right )^{\frac {13}{2}} - 520 \, b^{\frac {5}{2}} \tan \left (f x + e\right )^{\frac {9}{2}} + 936 \, b^{\frac {5}{2}} \tan \left (f x + e\right )^{\frac {5}{2}} + 585 \, {\left (2 \, \sqrt {2} \sqrt {b} \arctan \left (\frac {1}{2} \, \sqrt {2} {\left (\sqrt {2} + 2 \, \sqrt {\tan \left (f x + e\right )}\right )}\right ) + 2 \, \sqrt {2} \sqrt {b} \arctan \left (-\frac {1}{2} \, \sqrt {2} {\left (\sqrt {2} - 2 \, \sqrt {\tan \left (f x + e\right )}\right )}\right ) + \sqrt {2} \sqrt {b} \log \left (\sqrt {2} \sqrt {\tan \left (f x + e\right )} + \tan \left (f x + e\right ) + 1\right ) - \sqrt {2} \sqrt {b} \log \left (-\sqrt {2} \sqrt {\tan \left (f x + e\right )} + \tan \left (f x + e\right ) + 1\right )\right )} b^{2} - 4680 \, b^{\frac {5}{2}} \sqrt {\tan \left (f x + e\right )}}{2340 \, f} \]

[In]

integrate((b*tan(f*x+e)^3)^(5/2),x, algorithm="maxima")

[Out]

1/2340*(360*b^(5/2)*tan(f*x + e)^(13/2) - 520*b^(5/2)*tan(f*x + e)^(9/2) + 936*b^(5/2)*tan(f*x + e)^(5/2) + 58
5*(2*sqrt(2)*sqrt(b)*arctan(1/2*sqrt(2)*(sqrt(2) + 2*sqrt(tan(f*x + e)))) + 2*sqrt(2)*sqrt(b)*arctan(-1/2*sqrt
(2)*(sqrt(2) - 2*sqrt(tan(f*x + e)))) + sqrt(2)*sqrt(b)*log(sqrt(2)*sqrt(tan(f*x + e)) + tan(f*x + e) + 1) - s
qrt(2)*sqrt(b)*log(-sqrt(2)*sqrt(tan(f*x + e)) + tan(f*x + e) + 1))*b^2 - 4680*b^(5/2)*sqrt(tan(f*x + e)))/f

Giac [A] (verification not implemented)

none

Time = 0.46 (sec) , antiderivative size = 291, normalized size of antiderivative = 0.80 \[ \int \left (b \tan ^3(e+f x)\right )^{5/2} \, dx=\frac {1}{2340} \, {\left (\frac {1170 \, \sqrt {2} b \sqrt {{\left | b \right |}} \arctan \left (\frac {\sqrt {2} {\left (\sqrt {2} \sqrt {{\left | b \right |}} + 2 \, \sqrt {b \tan \left (f x + e\right )}\right )}}{2 \, \sqrt {{\left | b \right |}}}\right )}{f} + \frac {1170 \, \sqrt {2} b \sqrt {{\left | b \right |}} \arctan \left (-\frac {\sqrt {2} {\left (\sqrt {2} \sqrt {{\left | b \right |}} - 2 \, \sqrt {b \tan \left (f x + e\right )}\right )}}{2 \, \sqrt {{\left | b \right |}}}\right )}{f} + \frac {585 \, \sqrt {2} b \sqrt {{\left | b \right |}} \log \left (b \tan \left (f x + e\right ) + \sqrt {2} \sqrt {b \tan \left (f x + e\right )} \sqrt {{\left | b \right |}} + {\left | b \right |}\right )}{f} - \frac {585 \, \sqrt {2} b \sqrt {{\left | b \right |}} \log \left (b \tan \left (f x + e\right ) - \sqrt {2} \sqrt {b \tan \left (f x + e\right )} \sqrt {{\left | b \right |}} + {\left | b \right |}\right )}{f} + \frac {8 \, {\left (45 \, \sqrt {b \tan \left (f x + e\right )} b^{66} f^{12} \tan \left (f x + e\right )^{6} - 65 \, \sqrt {b \tan \left (f x + e\right )} b^{66} f^{12} \tan \left (f x + e\right )^{4} + 117 \, \sqrt {b \tan \left (f x + e\right )} b^{66} f^{12} \tan \left (f x + e\right )^{2} - 585 \, \sqrt {b \tan \left (f x + e\right )} b^{66} f^{12}\right )}}{b^{65} f^{13}}\right )} b \mathrm {sgn}\left (\tan \left (f x + e\right )\right ) \]

[In]

integrate((b*tan(f*x+e)^3)^(5/2),x, algorithm="giac")

[Out]

1/2340*(1170*sqrt(2)*b*sqrt(abs(b))*arctan(1/2*sqrt(2)*(sqrt(2)*sqrt(abs(b)) + 2*sqrt(b*tan(f*x + e)))/sqrt(ab
s(b)))/f + 1170*sqrt(2)*b*sqrt(abs(b))*arctan(-1/2*sqrt(2)*(sqrt(2)*sqrt(abs(b)) - 2*sqrt(b*tan(f*x + e)))/sqr
t(abs(b)))/f + 585*sqrt(2)*b*sqrt(abs(b))*log(b*tan(f*x + e) + sqrt(2)*sqrt(b*tan(f*x + e))*sqrt(abs(b)) + abs
(b))/f - 585*sqrt(2)*b*sqrt(abs(b))*log(b*tan(f*x + e) - sqrt(2)*sqrt(b*tan(f*x + e))*sqrt(abs(b)) + abs(b))/f
 + 8*(45*sqrt(b*tan(f*x + e))*b^66*f^12*tan(f*x + e)^6 - 65*sqrt(b*tan(f*x + e))*b^66*f^12*tan(f*x + e)^4 + 11
7*sqrt(b*tan(f*x + e))*b^66*f^12*tan(f*x + e)^2 - 585*sqrt(b*tan(f*x + e))*b^66*f^12)/(b^65*f^13))*b*sgn(tan(f
*x + e))

Mupad [F(-1)]

Timed out. \[ \int \left (b \tan ^3(e+f x)\right )^{5/2} \, dx=\int {\left (b\,{\mathrm {tan}\left (e+f\,x\right )}^3\right )}^{5/2} \,d x \]

[In]

int((b*tan(e + f*x)^3)^(5/2),x)

[Out]

int((b*tan(e + f*x)^3)^(5/2), x)